<form id="pagerForm" method="post" action="">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="orderField" value="{$orderField}" />
	<input type="hidden" name="orderDirection" value="{$orderDirection}" />
</form>
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="" method="post">
		<input type="hidden" name="g" value="{$group_name}" />
		<input type="hidden" name="a" value="{$action_name}" />
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					关键字：<input type="text" name="keywords" value="{$keywords}"/>
					<input type="hidden" name="sfield_name" value="name,alias" />
				</td>
				<td><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></td>
			</tr>
		</table>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a title="确实要删除这些产品吗?" target="selectedTodo" rel="proids[]" href="{:U('Suppliers/delpro',array('suppid'=>$suppid))}" class="delete"><span>批量删除</span></a></li>
		</ul>
	</div>
	<table class="table" width="1200" layoutH="113">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="proids[]" class="checkboxCtrl"></th>
				<th width="80" orderField="id" {if $orderField=='name'}class="{$orderDirection}"{/if}>ID</th>
				<th width="80" orderField="name" {if $orderField=='email'}class="{$orderDirection}"{/if}>产品名称</th>
				<th width="50" orderField="mian_cat" {if $orderField=='address'}class="{$orderDirection}"{/if}>主分类</th>
				<th width="50" orderField="price" {if $orderField=='address'}class="{$orderDirection}"{/if}>价格</th>
				<th width="50" orderField="status" {if $orderField=='address'}class="{$orderDirection}"{/if}>状态</th>
				<th width="60" align="center">操作</th>
			</tr>
		</thead>
		
		<tbody>
		<volist name='list' id='b'>
			<tr target="sid_user">
				<td><input name="proids[]" value="{$b['id']}" type="checkbox"></td>
				<td>{$b['id']}</td>
				<td>{$b['name']}</td>
				<td>{$b['mian_cat']}</td>
				<td><php>echo $b['price'] * 0.01 ;</php></td>
				<td>{$b['status']}</td>
				<td>
					<a title="确实要删除这条记录吗?" href="{:U('Suppliers/delpro',array('proid'=>$b['id'],'suppid'=>$suppid))}" class="btnDel" target="ajaxTodo" title="确定要删除吗?">删除</a>
				</td>
			</tr>
		</volist>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20" {if $numPerPage==20}selected="selected"{/if}>20</option>
				<option value="50" {if $numPerPage==50}selected="selected"{/if}>50</option>
				<option value="100" {if $numPerPage==100}selected="selected"{/if}>100</option>
				<option value="200" {if $numPerPage==200}selected="selected"{/if}>200</option>
			</select>
			<span>条，共{$totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$pageNum}"></div>
	</div>
</div>
